import request from '@/utils/request'

export function oldHouseCreate(data) {
  return request({
    url: '/old_house/create',
    method: 'post',
    headers: { 'content-type': 'application/json' },
    data
  })
}

export function oldHouseUpdateStatus(data) {
  return request({
    url: '/old_house/update_stauts',
    method: 'post',
    headers: { 'content-type': 'application/json' },
    data
  })
}

export function oldHouseModify(data) {
  return request({
    url: '/old_house/modify',
    method: 'post',
    headers: { 'content-type': 'application/json' },
    data
  })
}

export function oldHouseList(data) {
  return request({
    url: '/old_house/list',
    method: 'post',
    headers: { 'content-type': 'application/json' },
    data
  })
}
